package recaptchaV3

type Type string

const (
	TypeRecaptchaV3TaskProxyless             Type = "RecaptchaV3TaskProxyless"             // 20 POINTS
	TypeRecaptchaV3TaskProxylessM1           Type = "RecaptchaV3TaskProxylessM1"           // 25 POINTS
	TypeRecaptchaV3TaskProxylessK1           Type = "RecaptchaV3TaskProxylessK1"           // 20 POINTS 定制类型，使用前请联系客服定制
	TypeRecaptchaV3EnterpriseTaskProxyLessK1 Type = "RecaptchaV3EnterpriseTaskProxyLessK1" // 25 POINTS 定制类型，使用前请联系客服定制

	_, _, _, _ = TypeRecaptchaV3TaskProxyless, TypeRecaptchaV3TaskProxylessM1, TypeRecaptchaV3TaskProxylessK1, TypeRecaptchaV3EnterpriseTaskProxyLessK1
)

type Task struct {
	Type       Type   `json:"type"`                 // Type 只是架构不同，您可以测试您的业务通过率，根据需要自行选择. 另外如果遇到故障也可以临时切换用于备用.
	WebsiteURL string `json:"websiteURL"`           // ReCaptcha 网页地址，一般固定值。 查看方式参考: https://yescaptcha.atlassian.net/wiki/spaces/YESCAPTCHA/pages/12746875
	WebsiteKey string `json:"websiteKey"`           // ReCaptcha 网站密钥，固定值。    查看方式参考: https://yescaptcha.atlassian.net/wiki/spaces/YESCAPTCHA/pages/12746875
	PageAction string `json:"pageAction,omitempty"` // 此值必须正确，否则识别的结果无效。 查看方式参考: https://yescaptcha.atlassian.net/wiki/spaces/YESCAPTCHA/pages/57573377
}
